.class public wfv_2
.super java/lang/Object

.method public static zeros([I)I
.limit stack 20
.limit locals 20
iconst_0
istore_1

loop0:

iload_1
aload_0
arraylength
if_icmpge loop0_end

aload_0
iload_1
iconst_0
iastore

iload_1
iconst_1
iadd
istore_1

goto loop0

loop0_end:

aload_0
arraylength
istore_2

iload_2
ireturn
.end method

.method public static main([Ljava/lang/String;)V
.limit stack 20
.limit locals 20
iconst_3
newarray int
astore_0

aload_0
invokestatic wfv_2/zeros([I)I

istore_1

ldc "numero de elementos de a: "
iload_1
invokestatic io/println(Ljava/lang/String;I)V

return
.end method
